<?php 
class languagesObj 
{
	var $id;
	var $name;
	var $code;
	var $otherFields;

	public function TableName() { return "languages";}
	public function idFieldName() { return "id";}
	public function nameFieldName() { return "name";}
	public function codeFieldName() { return "code";}

	function languagesObj ($pid="",$pname="",$pcode="") {

		$this->id = $pid;
		$this->name = $pname;
		$this->code = $pcode;
	}

} 
?>